package com.seres.backend.admin;

import java.util.ArrayList;
import java.util.List;

public class MessagesParserResult {
	private List<Integer> messageIds;
	private List<Integer> stakeholderIds;
	private List<MessageLine> messageLines;
	
	public MessagesParserResult(){
		setMessageIds(new ArrayList<Integer>());
		setStakeholderIds(new ArrayList<Integer>());
		setMessageLines(new ArrayList<MessageLine>());
	}

	private void setMessageIds(List<Integer> messageIds) {
		this.messageIds = messageIds;
	}

	public List<Integer> getMessageIds() {
		return messageIds;
	}

	public void setStakeholderIds(List<Integer> stakeholderIds) {
		this.stakeholderIds = stakeholderIds;
	}

	public List<Integer> getStakeholderIds() {
		return stakeholderIds;
	}

	private void setMessageLines(List<MessageLine> messageLines) {
		this.messageLines = messageLines;
	}

	public List<MessageLine> getMessageLines() {
		return messageLines;
	}
	public void addMessageLine(MessageLine messageLine){
		getMessageIds().add(messageLine.getMessageId());
		getMessageLines().add(messageLine);
	}
	
}
